/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfocompany.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 托管资金构成Entity
 * @author zms
 * @version 2018-05-07
 */
public class CampusinfoConsist extends DataEntity<CampusinfoConsist> {
	
	private static final long serialVersionUID = 1L;
	private String campanyId;		// 公司编号
	private String fundName;		// 姓名
	private String fund;		// 资金
	private String companyName; //公司名称
	public CampusinfoConsist() {
		super();
	}

	public CampusinfoConsist(String id){
		super(id);
	}
	@Length(min=1, max=255, message="公司名称长度必须介于 1 和 255 之间")
	public String getCampanyId() {
		return campanyId;
	}

	public void setCampanyId(String campanyId) {
		this.campanyId = campanyId;
	}
	
	@Length(min=1, max=64, message="姓名长度必须介于 1 和 64 之间")
	public String getFundName() {
		return fundName;
	}

	public void setFundName(String fundName) {
		this.fundName = fundName;
	}
	
	@Length(min=1, max=255, message="资金长度必须介于 1 和 255 之间")
	public String getFund() {
		return fund;
	}
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public void setFund(String fund) {
		this.fund = fund;
	}
	
}